package com.fzj.charging.device.dao.repository.impl;

import com.fzj.charging.device.dao.mapper.ChargingStationMapper;
import com.fzj.charging.device.dao.repository.StationRepository;
import com.fzj.charging.device.pojo.entity.ChargingStation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class StationRepositoryImpl implements StationRepository {
    @Autowired
    private ChargingStationMapper chargingStationMapper;

    @Override
    public List<ChargingStation> selectChargingStationList() {
        return chargingStationMapper.selectList(null);
    }
}
